package distributions;

import java.io.IOException;

public class CauchyStream extends RandomStream
{
  public CauchyStream()
  {
  }

  public CauchyStream(int paramInt)
  {
    for (int i = 0; i < paramInt * 1000; i++)
      Uniform();
  }

  public CauchyStream(int paramInt, long paramLong1, long paramLong2)
  {
    super(paramLong1, paramLong2);
    for (int i = 0; i < paramInt * 1000; i++)
      Uniform();
  }

  public double getNumber()
    throws IOException, ArithmeticException
  {
    return Math.abs(Math.atan(3.141592653589793D * (Uniform() - 0.5D)));
  }
}

/* Location:           /tmp/dlpjava/dlpjava.jar
 * Qualified Name:     distributions.CauchyStream
 * JD-Core Version:    0.6.0
 */